Buckaroo\Woocommerce\Gateways\AbstractPaymentGateway C

Total Complexity 107
Dependencies 18
Dependents 9
Total lines 747
Lines of code 426
Logical lines of code 169
Comment lines 156
Methods 44
Properties 11

Methods 44

Method Rating Maintainability Complexity Lines of code
getPaymentFeeVat()
A
52 10 20
process_capture()
A
50 8 28
init_form_fields()
A
40 5 69
getScalarCheckoutField()
S
59 5 14
validate_number_field()
S
59 5 13
addGatewayHooks()
S
54 4 21
generate_buckaroo_notice_html()
S
67 5 6
get_failed_url()
S
61 4 12
setTitle()
S
53 3 24
apply_filters_or_error()
S
66 4 7
__construct()
S
58 3 14
newRefundProcessorInstance()
S
62 3 12
migrateOldSettings()
S
65 3 9
init_settings()
S
61 2 13
newPaymentProcessorInstance()
S
62 2 12
setCountry()
S
66 2 8
can_show_financial_warining()
S
74 2 4
get_payment_class()
S
80 2 3
validate_fields()
S
73 2 5
apply_filter_or_error()
S
71 2 6
getPaymentTemplate()
S
68 2 7
action_woocommerce_checkout_process()
S
73 2 5
getPaymentDescription()
S
67 2 7
renderTemplate()
S
63 2 10
replace_order_button_html()
S
72 2 6
isVisibleInCheckout()
S
79 2 3
response_handler()
S
63 2 10
add_financial_warning_field()
S
62 1 12
getServiceCode()
S
79 1 3
getMode()
S
80 1 3
canShowCaptureForm()
S
82 1 3
checkCurrencySupported()
S
79 1 3
payment_fields()
S
82 1 3
setProperties()
S
64 1 9
woocommerce_session_handler()
S
82 1 3
getIcon()
S
82 1 3
set_order_capture()
S
75 1 4
setIcon()
S
71 1 6
thankyou_description()
S
91 1 2
process_payment()
S
78 1 3
addRefundSupport()
S
73 1 6
process_refund()
S
78 1 3
getIconPath()
S
78 1 3
create_capture_error()
S
68 1 9